//
//  CVImageConverter.h
//  CVSampleBasic
//
//  Created by  Artem on 15.08.11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIImage.h>
#include <opencv2/core/mat.hpp>

@interface CVImageConverter : NSObject {
    
}

+ (UIImage *) UIImageFromCVMat:(cv::Mat) cv_image error:(NSError **)outError;
+ (cv::Mat)   CVMatFromUIImage:(UIImage *) ui_image error:(NSError **)outError;

@end
